package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lancoo.ccas53.pojo.vo.TeachingClassHourVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 分班教学班对应的分组
 * </p>
 *
 * @author quin.song
 * @since 2024-06-06
 */
@Data
@Accessors(chain = true)
@TableName("sub_class_group")
@ApiModel(value = "SubClassGroup对象", description = "分班教学班对应的分组")
public class SubClassGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    @ApiModelProperty("上课组名称")
    private String groupName;

    @ApiModelProperty("分组标识")
    private String uniqueGroupSign;

    @ApiModelProperty("教学班id")
    private Long teachingClassId;

    @ApiModelProperty("教学班名称")
    private String teachingClassName;

    @ApiModelProperty("课程id")
    private Long courseId;

    private String courseName;

    @ApiModelProperty("分班标识 uuid")
    private String uniqueShiftSign;

    @ApiModelProperty("周学时")
    private Integer weekNum;

    @ApiModelProperty("0:环节  1讲授 2实验 3上机 4其他")
    private String hourType;

    @TableField(exist = false)
    @ApiModelProperty("授课类型名称")
    private String hourTypeName;

    @ApiModelProperty("1单数 2双数")
    private Integer isSingle;

    @TableField(exist = false)
    @ApiModelProperty(value = "课程id+教师id")
    private String courseTeacherIds;

    @TableField(exist = false)
    @ApiModelProperty("对应教学班")
    private TeachingClassHourVo teachingClassHourVo;

    @ApiModelProperty("授课类型")
    @TableField(exist = false)
    private List<Integer> hourTypeList;
}
